package com.weike.yuanding.strategy;

import com.alibaba.dashscope.common.Message;
import com.alibaba.dashscope.exception.InputRequiredException;
import com.alibaba.dashscope.exception.NoApiKeyException;
import com.weike.yuanding.vo.ChatResVo;
import com.weike.yuanding.vo.ChatVo;

import java.beans.Customizer;
import java.util.List;
import java.util.function.Consumer;

/**
 * @InterfaceName: ChatStrategy
 * @Author: YuanDing
 * @Date: 2025/4/23 21:01
 * @Description:
 * ai对话策略接口类
 */

public interface ChatStrategy {

    void execute(List<Message> messageList , ChatVo chatVo , Consumer<ChatResVo> customizer) throws NoApiKeyException, InputRequiredException;

}
